#pragma once

#include "SvrBase.h"

namespace sbase
{
	//////////////////////////////////////////////////////////////////////////
	class IModule
	{
	public:
		virtual ULONG		Release(void)				= 0;
		virtual const char* GetName(void)		const	= 0;
		virtual bool		PreCreate(void)				= 0;
		virtual bool		Create(void)				= 0;
		virtual bool		Run(void)					= 0;
		virtual void		PostDestroy(void)			= 0;
	};
}